/**
 * Copyright (C), 2012-2018, 联奕科技有限公司
 * FileName: TimeFilter
 * Author:   石贵武
 * Date:     2018\3\7 0007 18:49
 * Description: 记录时间的过滤器
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhoudongxiu.web.filter;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * 〈一句话功能简述〉<br> 
 * 〈记录时间的过滤器〉
 *
 * @author 石贵武
 * @create 2018\3\7 0007
 * @since 1.0.0
 */
@Slf4j
@Component
public class TimeFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {

    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        filterChain.doFilter(servletRequest, servletResponse);
    }

    @Override
    public void destroy() {

    }
}